package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_CapitalRegisterSon", catalog="Id")
public class TcwCapitalRegisterSon extends BaseEntity<TcwCapitalRegisterSon> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="PaymentTime", nameJava="paymentTime", typeDataBase="datetime")
	private Date paymentTime;
	@YsField(nameDataBase="OperateCompanyBankInfoId", nameJava="operateCompanyBankInfoId", typeDataBase="bigint")
	private Long operateCompanyBankInfoId;
	@YsField(nameDataBase="PaymentAmount", nameJava="paymentAmount", typeDataBase="decimal")
	private BigDecimal paymentAmount;
	@YsField(nameDataBase="ClaimVgsmc", nameJava="claimVgsmc", typeDataBase="varchar")
	private String claimVgsmc;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwCapitalRegisterSon setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwCapitalRegisterSon setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public Date getPaymentTime() {
		return paymentTime;
	}
	public TcwCapitalRegisterSon setPaymentTime(Date paymentTime) {
		this.paymentTime = paymentTime;
		return this;
	}
	public Long getOperateCompanyBankInfoId() {
		return operateCompanyBankInfoId;
	}
	public TcwCapitalRegisterSon setOperateCompanyBankInfoId(Long operateCompanyBankInfoId) {
		this.operateCompanyBankInfoId = operateCompanyBankInfoId;
		return this;
	}
	public BigDecimal getPaymentAmount() {
		return paymentAmount;
	}
	public TcwCapitalRegisterSon setPaymentAmount(BigDecimal paymentAmount) {
		this.paymentAmount = paymentAmount;
		return this;
	}
	public String getClaimVgsmc() {
		return claimVgsmc;
	}
	public TcwCapitalRegisterSon setClaimVgsmc(String claimVgsmc) {
		this.claimVgsmc = claimVgsmc;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwCapitalRegisterSon setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwCapitalRegisterSon setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwCapitalRegisterSon setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwCapitalRegisterSon setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwCapitalRegisterSon tcwCapitalRegisterSon(
		String pbid,
		Date paymentTime,
		Long operateCompanyBankInfoId,
		BigDecimal paymentAmount,
		String claimVgsmc,
		String remark,
		Integer status
			) {
		TcwCapitalRegisterSon entity = new TcwCapitalRegisterSon();
		entity.setPbid(pbid);
		entity.setPaymentTime(paymentTime);
		entity.setOperateCompanyBankInfoId(operateCompanyBankInfoId);
		entity.setPaymentAmount(paymentAmount);
		entity.setClaimVgsmc(claimVgsmc);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}